<?php

require '../../FormWriter.php';

$books = new Books();

$books->start_form();

$controls = array(
  'book'   => '*',
  'writer' => 'name',
  '.push'  => 'submit,reset'
);
$books->add_ctrl($controls);

$books->end_form();

echo '<pre>';
print_r($books->get_filter($controls));
echo '</pre>';

# End of file
# vim: set ts=2 sw=2 et:
?>
